package com.t382.text.service;

import com.t382.text.pojo.HotSpotConsultation;
import com.t382.text.pojo.Interceptors;
import com.t382.text.pojo.Page;
import com.t382.text.pojo.Replies;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface InterceptorsService {
    public Page getPage(Integer pageNo, Integer pageSize);

    public List<HotSpotConsultation> getReplies(@Param("id") int id);

    public int delete(Integer id);

    public int update1(@Param("id") Integer id);

    public int update2( Replies replies);

    public int update3(@Param("id") Integer id);
}
